package dto;

import java.io.Serializable;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean
@SessionScoped
public class RaspunsuriDTO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int id;
	
	//private int id_intrebare;
	
	private String raspuns;
	
	private IntrebariDTO intrebari;
	
	private boolean selectat;
	
	public RaspunsuriDTO(){
		super();
	}
	
	public RaspunsuriDTO(int id, int id_intrebare, String raspuns){
		this.id = id;
		//this.id_intrebare = id_intrebare;
		this.raspuns = raspuns;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	/*
	public int getId_intrebare() {
		return id_intrebare;
	}

	public void setId_intrebare(int id_intrebare) {
		this.id_intrebare = id_intrebare;
	}
	*/
	public String getRaspuns() {
		return raspuns;
	}

	public void setRaspuns(String raspuns) {
		this.raspuns = raspuns;
	}

	public IntrebariDTO getIntrebari() {
		return intrebari;
	}

	public void setIntrebari(IntrebariDTO intrebari) {
		this.intrebari = intrebari;
	}

	public boolean getSelectat() {
		return selectat;
	}

	public void setSelectat(boolean selectat) {
		this.selectat = selectat;
	}
}
